const mockQuery = {
  code: 'ok',
  message: '',
  data: {
    list: [
      {
        key: '1',
        id: 1,
        costObject: '广州丑寅电子商务有限公司',
        costSubject: '检验检疫费',
        costType: '应收',
        currency: 'USD',
        singlePrice: '500',
        number: 100,
        rate: 7.1235,
        creator: '姚明',
        creatTime: '2019-01-08 16:29:30',
      },
    ],
    pagination: {
      currency: 1,
      total: 20,
      pageSize: 20,
    },
  },
};

const mockCreate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockUpdate = {
  code: 'ok',
  message: '',
  data: {},
};

const mockRemove = {
  code: 'ok',
  message: '',
  data: {},
};

export default {
  'GET /api/record/query': mockQuery,
  'POST /api/record/create': mockCreate,
  'POST /api/record/update': mockUpdate,
  'POST /api/record/remove': mockRemove,
};
